<?php /* Smarty version 2.6.18, created on 2009-11-10 09:52:59
         compiled from them_moi_par_ssrptquote.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'par_ssrptquote')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="18%">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="6">
<select name="hanhdong" size="1" onChange="changevalue('hanhdong');">
 <?php $_from = $this->_tpl_vars['chuyentrang1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<td colspan="10"><hr></td>
</tr>
  <tr>
  	<td colspan="11"><!--<input type="submit" id="getName" name="getName" value="   " style="visibility:hidden;"/> onchange="document.getElementById('getName').click();" --></td>
    </tr>
  
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_QGRPCODE']; ?>
</td>
    <td colspan="3"><span style="color:#FF0000;">
      <select name="QGRPCODE" id="QGRPCODE" size="1"   style="background-color:<?php echo $this->_tpl_vars['color_CMFLD']; ?>
;" onchange="document.getElementById('tmpQGRPCODE').value=this.value;">
        <option value=""/></option>
        </option>		
 		<?php $_from = $this->_tpl_vars['cbo_QGRPCODE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['QGRPCODE'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>  
      </select>
      <input type="hidden" id="tmpQGRPCODE" name="tmpQGRPCODE" value="<?php echo $this->_tpl_vars['QGRPCODE']; ?>
"/>
* </span></td>
    <td width="15%">&nbsp;</td>
    <td width="20%">&nbsp;</td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_QSEQNO']; ?>
&nbsp;&nbsp;&nbsp;</td>
    <td width="14%"><input name="QSEQNO" type="text" id="QSEQNO" value="<?php echo $this->_tpl_vars['QSEQNO']; ?>
" size="7" maxlength="20" onkeypress="return numberOnly(event);" /></td>
    <td width="17%"><?php echo $this->_tpl_vars['lbl_VNDESC']; ?>
 </td>
    <td width="16%"><input name="VNDESC" type="text" id="VNDESC" value="<?php echo $this->_tpl_vars['VNDESC']; ?>
" size="20" maxlength="50" /></td>
    <td><?php echo $this->_tpl_vars['lbl_ENDESC']; ?>
 </td>
    <td><input name="ENDESC" type="text" id="ENDESC" value="<?php echo $this->_tpl_vars['ENDESC']; ?>
" size="20" maxlength="50" /></td>
    </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_PRIORITY']; ?>
</td>
    <td><span style="color:#FF0000;">
      <select name="PRIORITY" id="PRIORITY" size="1"   style="background-color:<?php echo $this->_tpl_vars['color_PRIORITY']; ?>
;">
        <!---<option value=""/></option>-->
        </option>		
 		<?php $_from = $this->_tpl_vars['cbo_PRIORITY']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['PRIORITY'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
      </select>
    </span></td>
    <td><?php echo $this->_tpl_vars['lbl_MAN']; ?>
</td>
    <td><span style="color:#FF0000;">
      <select name="MAN" id="MAN" size="1"   style="background-color:<?php echo $this->_tpl_vars['color_MAN']; ?>
;">
         <!---<option value=""/></option>-->
        </option>
        </option> 		
 		<?php $_from = $this->_tpl_vars['cbo_MAN']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['MAN'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option> 
 		<?php endforeach; endif; unset($_from); ?>
      </select>
    </span></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  
  <tr>
  	 <td width="18%"><input name="TOTAL" id="TOTAL" type="hidden"/></td>
    <td colspan="10"><input type="button" id="themmoissrptquote" name="themmoissrptquote" value="<?php echo $this->_tpl_vars['ten_them_moi']; ?>
"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" onclick="if(addRow())disableQGRPCODE();"/>
	<input type="button" name="capnhatssrptquote" id="capnhatssrptquote" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
"  class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" onClick="updateRow();" disabled="disabled" /> </td>
    </tr>
<tr>
<td colspan="10">
<div align="center" style="width:680px;height:300px;overflow:auto;border:1px solid #6B82AC;">
<table width="100%" border="0" cellpadding="0" cellspacing="1" id="tblSample">
  <thead>
  <tr>
    <th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_STT']; ?>
</th>  
    <th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_QGRPCODE']; ?>
</th>
    <th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_QSEQNO']; ?>
</th>
    <th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_VNDESC']; ?>
</th>
	<th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_ENDESC']; ?>
</th>
	<th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_PRIORITY']; ?>
</th>
	<th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_MAN']; ?>
</th>
	</tr>
  </thead>
  <tbody></tbody>
</table>
<?php echo $this->_tpl_vars['tbldata']; ?>
</div></td>
<tr>
<td colspan="10"></td>
</tr>
<tr>
<td colspan="10" align="right">
<input type="submit" name="capnhat" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
"  class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="7">
<hr></td>
</tr>

<tr>
<td >
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="6">
<select name="hanhdong1" size="1" onChange="changevalue('hanhdong1');">
 <?php $_from = $this->_tpl_vars['chuyentrang1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>